//
//  GoodCollectionViewCell.m
//  Hero
//
//  Created by lanou3g on 16/5/5.
//  Copyright © 2016年 刘永庆. All rights reserved.
//

#import "GoodCollectionViewCell.h"
#import "GoodModel.h"
@interface GoodCollectionViewCell ()
@property (weak, nonatomic) IBOutlet UIImageView *iconView;
@property (weak, nonatomic) IBOutlet UILabel *nameLable;

@end
@implementation GoodCollectionViewCell

- (void)awakeFromNib {
    // Initialization code
}
- (void)layoutSubviews{
    self.iconView.image = [UIImage imageNamed:[NSString stringWithFormat:@"%ld", self.model.good_id]];
    self.nameLable.text = self.model.name;
}
@end
